{assign var=formId value='list'}
<div id="content">
	<div class="highlight">
        {if isset($tabadmindefault)}{$tabadmindefault}{/if}
        {if isset($infoText)}
            <div class="{$infoClass}">
                <h4>Result:</h4>
                <p>{$infoText}</p>
            </div>
        {/if}
        {include file="admin/toolbar_config.temp.html" title=toolbar_config}
        <div class="formType">
            <form action="{$base_url}" method="post" id="{$formId}" name="{$formId}" enctype="multipart/form-data">
                <fieldset>
                <!-- Chi tiet ben trai-->
                <div class="left">
                    <div class="titles">{l s='infoneed'}</div>                
<div style="clear:both;">
                    <ul class="tabs">
                        {if $objectLanguages}
                            {foreach $objectLanguages as $objectlang} 
                            	<li class="tab {if $objectlang@first}selected{/if}">{$objectlang->getField('name')}</li>
                            {/foreach}                                   
                        {/if}                        
                    </ul>
                    {if $objectLanguages}
                        {foreach $objectLanguages as $objectlang} 
                         	{assign var="company" value="{$objectlang->getField('code')}_company"}
                            {assign var="address" value="{$objectlang->getField('code')}_address"}
                            <div class="tabcontent {if $objectlang@first}selected{/if}">
                                <p>
                                    <label for="company_name">{l s='company'}</label>
                                    <span>{l s='company_help'}</span>
                                    <input name="{$company}" value="{${$company}}" />
				</p> 
                                <p>
                                    <label for="{$objectlang->getField('code')}_address">{l s='address'}</label>
                                    <span>{l s='address_help'}</span>
                                    <input name="{$address}" value="{${$address}}" />
				</p>     
                                <br class="clear">
                            </div>
                        {/foreach}                                   
                    {/if}                                    
                </div>                                                                           
                </div>
                <!-- End chi tiet ben trai-->
                <!-- Chi tiet ben phai-->
                <div class="right"> 
                    <div class="titles">{l s='infononeed'}</div>
                    <div id="accordion">
                    
                        <div class="title">{l s='logocp'}</div>
                        
                        <div class="content first">

                            <p>
                                <label for="avatar">{l s='avatar'}</label>
                                <span>{l s='avatar_help'}</span>
                                {if $nameFileLogo}
                                	{$avatar}<br /><br />
                                    <input type="checkbox" name="del_images" id="del_images" style="width:auto"/> &nbsp;{l s='delavatar'}<br />

                                {/if}
                                <input type="file" name="avatar" id="avatar" />
                            </p>

                        </div>  
                        
                        <div class="title">{l s='properties'}</div>
                        
                        <div class="content first">

                            <p>
                                <label for="hotline">{l s='admin_mail'}</label>
                                <span>{l s='admin_mail_help'}</span>
                                <input id="admin_mail" name="admin_mail" value="{$admin_mail}" />
                            </p> 
                            <p>
                                <label for="tel">{l s='tel'}</label>
                                <span>{l s='tel_help'}</span>
                                <input id="tel" name="tel" value="{$tel}" />
                            </p>
                            
                            <p>
                                <label for="fax">{l s='fax'}</label>
                                <span>{l s='fax_help'}</span>
                                <input id="fax" name="fax" value="{$fax}" />
                            </p>
                            <p>
                                <label for="hotline">{l s='hotline'}</label>
                                <span>{l s='hotline_help'}</span>
                                <input id="hotline" name="hotline" value="{$hotline}" />
                            </p>

                        </div>

                    </div>                                      
                                    
                </div>
                <!-- End chi tiet ben phai -->
                <!-- Tr�n ra hai ben -->
                <div class="over">
                    <p class="btnType">
                        <input type="hidden" id="op"  name="op" value="{$op}" /> 
                        <input type="hidden" id="act" name="act" value="{$act}" />
                    </p>
                </div>
                <!-- End tr�n ra hai ben -->
                </fieldset>
            </form>
        </div>
    </div>
</div>